package com.cj.po;

import java.util.List;

/**
 * DClass类对应数据库表d_class
 */
public class DClass {
    // 主键 ID
    private int c_id;

    // 班级编号
    private int c_classid;

    // 班级名称
    private String c_classname;

    // 班级辅导员
    private String c_counsellor;

    private List<Student> students;

    public DClass() {
    }

    public int getC_id() {
        return c_id;
    }

    public void setC_id(int c_id) {
        this.c_id = c_id;
    }

    public int getC_classid() {
        return c_classid;
    }

    public void setC_classid(int c_classid) {
        this.c_classid = c_classid;
    }

    public String getC_classname() {
        return c_classname;
    }

    public void setC_classname(String c_classname) {
        this.c_classname = c_classname;
    }

    public String getC_counsellor() {
        return c_counsellor;
    }

    public void setC_counsellor(String c_counsellor) {
        this.c_counsellor = c_counsellor;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "DClass{" +
                "c_id=" + c_id +
                ", c_classid=" + c_classid +
                ", c_classname='" + c_classname + '\'' +
                ", c_counsellor='" + c_counsellor + '\'' +
                '}';
    }

    public DClass(int c_id, int c_classid, String c_classname, String c_counsellor) {
        this.c_id = c_id;
        this.c_classid = c_classid;
        this.c_classname = c_classname;
        this.c_counsellor = c_counsellor;
    }
}

